import App from './App'
import uView from './uni_modules/vk-uview-ui';
import { createSSRApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import './utils/interceptors.js'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
export function createApp() {
  const app = createSSRApp(App)
  app.use(uView)
  app.use(pinia);
  return {
    app
  }
}

